package com.ticket.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ticket.common.annotation.Excel;
import com.ticket.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 海报管理对象 t_yanchu_posters
 * 
 * @author ruoyi
 * @date 2023-09-27
 */
@ApiModel(description = "海报管理对象")
public class TYanchuPosters extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @ApiModelProperty(value = "主键id")
    private Long id;

    /** 海报名称 */
    @ApiModelProperty(value = "海报名称")
    @Excel(name = "海报名称")
    private String postersName;

    /** 海报图片地址 */
    @ApiModelProperty(value = "海报图片地址")
    @Excel(name = "海报图片地址")
    private String postersUrl;

    /** 活动类型 1：无；2：站内；3：站外连接地址 */
    @ApiModelProperty(value = "活动类型 1：无；2：站内；3：站外连接地址")
    @Excel(name = "活动类型 1：无；2：站内；3：站外连接地址")
    private Integer actType;

    /** 站外链接地址 */
    @ApiModelProperty(value = "站外链接地址")
    @Excel(name = "站外链接地址")
    private String offSiteUrl;

    /** 剧院id */
    @ApiModelProperty(value = "剧院id")
    @Excel(name = "剧院id")
    private Long operaId;

    /** 演出id */
    @ApiModelProperty(value = "演出id")
    @Excel(name = "演出id")
    private Long movieId;

    /** 海报状态 1：开启；0：关闭 */
    @ApiModelProperty(value = "海报状态 1：开启；0：关闭")
    @Excel(name = "海报状态 1：开启；0：关闭")
    private Integer status;

    /** 排序字段，值越大越靠前 */
    @ApiModelProperty(value = "排序字段，值越大越靠前")
    @Excel(name = "排序字段，值越大越靠前")
    private Integer orderNum;

    /** 剧院名称 */
    @Transient
    @ApiModelProperty(value = "剧院名称")
    private String operaName;
    /** 演出名称 */
    @Transient
    @ApiModelProperty(value = "演出名称")
    private String movieName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPostersName(String postersName) 
    {
        this.postersName = postersName;
    }

    public String getPostersName() 
    {
        return postersName;
    }
    public void setPostersUrl(String postersUrl) 
    {
        this.postersUrl = postersUrl;
    }

    public String getPostersUrl() 
    {
        return postersUrl;
    }
    public void setActType(Integer actType) 
    {
        this.actType = actType;
    }

    public Integer getActType() 
    {
        return actType;
    }
    public void setOffSiteUrl(String offSiteUrl) 
    {
        this.offSiteUrl = offSiteUrl;
    }

    public String getOffSiteUrl() 
    {
        return offSiteUrl;
    }
    public void setOperaId(Long operaId) 
    {
        this.operaId = operaId;
    }

    public Long getOperaId() 
    {
        return operaId;
    }
    public void setMovieId(Long movieId) 
    {
        this.movieId = movieId;
    }

    public Long getMovieId() 
    {
        return movieId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getOperaName() {
        return operaName;
    }

    public void setOperaName(String operaName) {
        this.operaName = operaName;
    }

    public String getMovieName() {
        return movieName;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("postersName", getPostersName())
            .append("postersUrl", getPostersUrl())
            .append("actType", getActType())
            .append("offSiteUrl", getOffSiteUrl())
            .append("operaId", getOperaId())
            .append("movieId", getMovieId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
